<?php

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use App\Models\Star;
use App\Transformers\StarTransformer;

class AuthorsController extends Controller
{
    public function show(Star $author)
    {
        return $this->response->item($author, new StarTransformer());
    }
}
